home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcr / pcr4_4.lha / DIST / debugnub / INCLUDE / xr / CedarCirioNubProcs.h next >
C/C++ Source or Header  |  1992-03-03  |  3KB  |  106 lines

  1. /* begincopyright
  2.   Copyright (c) 1988 Xerox Corporation. All rights reserved.
  3.   Use and copying of this software and preparation of derivative works based
  4.   upon this software are permitted. Any distribution of this software or
  5.   derivative works must comply with all applicable United States export
  6.   control laws. This software is made available AS IS, and Xerox Corporation
  7.   makes no warranty about the software, its performance or its conformity to
  8.   any specification. Any person obtaining a copy of this software is requested
  9.   to send their name and post office or electronic mail address to:
  10.     PCR Coordinator
  11.     Xerox PARC
  12.     3333 Coyote Hill Rd.
  13.     Palo Alto, CA 94304
  14.   endcopyright */
  15.  
  16. /*
  17.  * CirioNubProcs.h
  18.  *
  19.  * Demers, February 25, 1992 1:45:55 pm PST
  20.  *
  21.  * CirioNub remote procedure numbers and descriptions.
  22.  */
  23.  
  24. #ifndef _CEDAR_CIRIO_NUB_PROCS_
  25. #define _CEDAR_CIRIO_NUB_PROCS_
  26.  
  27. #include "xr/CirioNubProtocol.h"
  28.  
  29. #define CEDAR_CIRIO_NUB_PROCS_LOW_VERSION    0
  30. #define CEDAR_CIRIO_NUB_PROCS_VERSION        0
  31.  
  32. #define MkCedarCirioNubProcID(n)    (64+(n))
  33.  
  34. /*
  35.  * Cedar Type Strings and Type Codes
  36.  */
  37.  
  38. typedef struct CirioNubCedarTypeStringRep {
  39.     char *typeString;
  40. } * CirioNubCedarTypeString;
  41.  
  42. typedef struct CirioNubCedarTypeCodeRep {
  43.     unsigned long typeCode;
  44. } * CirioNubCedarTypeCode;
  45.  
  46.  
  47. /*
  48.  * Cedar CirioNubProcs
  49.  */
  50.  
  51.  
  52. /*
  53.     unsigned Null ( unsigned desiredVersion );
  54.  
  55.     Return the "best" Cedar Cirio nub version number exported by this nub.
  56. */
  57.  
  58. extern CirioNubRetCode
  59. CedarCirioNubServeNull(/* int argc, unsigned *args */);
  60.  
  61. #define CedarCirioNubProcID_Null        MkCedarCirioNubProcID(0)
  62.  
  63.  
  64. /*
  65.     struct CirioNubCedarTypeStringRep
  66.     GetTypeString( struct CirioNubCedarTypeCodeRep );
  67.  
  68.     Convert a type string to a type code on the debuggee.
  69. */
  70.  
  71. extern CirioNubRetCode
  72. CedarCirioNubServeGetTypestring( );
  73.  
  74. #define CedarCirioNubProcID_GetTypestring    MkCedarCirioNubProcID(1)
  75.  
  76. /*
  77.     struct { bool found, struct CirioNubCedarTypeCodeRep type }
  78.     GetTypecode( unsigned long typeStringLen,
  79.             struct CirioNubCedarTypeStringRep );
  80.  
  81.     Convert a type code on the debuggee to a type string.
  82. */
  83.  
  84. extern CirioNubRetCode
  85. CedarCirioNubServeGetTypecode( );
  86.  
  87. #define CedarCirioNubProcID_GetTypecode        MkCedarCirioNubProcID(2)
  88.  
  89. /*
  90.     struct CirioNubCedarTypeCodeRep
  91.     GetConcreteTypecode( struct CirioNubCedarTypeCodeRep );
  92.  
  93.     Convert opaque to concrete type code on debuggee.
  94. */
  95.  
  96. extern CirioNubRetCode
  97. CedarCirioNubServeGetConcreteTypecode( );
  98.  
  99. #define CedarCirioNubProcID_GetConcreteTypecode    MkCedarCirioNubProcID(3)
  100.  
  101.  
  102.  
  103.  
  104. #endif /* _CEDAR_CIRIO_NUB_PROCS_ */
  105.  
  106.